package com.woniuxy.purchase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.purchase.entity.pojo.DemandGoods;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DemandGoodsMapper extends BaseMapper<DemandGoods> {
    @Insert("insert into demand_goods(id,did,gnum,quantity) values (null,#{did},#{goodsNumber},#{quantity})")
    void insertDemandGoods(DemandGoods demandGoods);
}
